<?php
require_once('Zend/Filter/Interface.php');

class Extension_Form_Filter_Login implements Zend_Filter_Interface
{
    public function init()
    {
    }

    public function filter($data)
    {
        $stringToLower = new Zend_Filter_StringToLower();
        $stringTrim = new Zend_Filter_StringTrim();
        $stripTags = new Zend_Filter_StripTags();
        $result = $stringToLower->filter($data);
        $result = $stripTags->filter($result);
        $result = $stringTrim->filter($result);
        return $result;
    }

}